styleproperties: Init the default properties when they're needed
authorBenjamin Otte <otte@redhat.com>
Fri, 20 May 2011 21:39:02 +0000 (23:39 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 21 May 2011 20:49:42 +0000 (22:49 +0200)
commit85e900b522b32be957c2a9d70cf3f56812f80df6
treeaacd4c4320c8fef41338743ea9c6a2642ece14c6
parenta2200e8971ac33bbe5972bc8705b7f9bbc1bbad9
styleproperties: Init the default properties when they're needed

Instead of initing the default style properties in the class_init
func of the style properties, init them when they are first needed -
when they are queried or when new ones are registered.

That way, they will always be available.
gtk/gtkstyleproperties.c